#ifndef COMPLEX_CLASS
#define COMPLEX_CLASS

#include <iostream>

using namespace std;

class Complex {
   private:
    int real;
    int image;

   public:
    Complex(int r = 0, int i = 0) {
        real = r;
        image = i;
    }

    void show() {
        cout << "real part: " << real << endl;
        cout << "imaginary part: " << image << endl;
    }

    void add(const Complex& c) {
        real += c.real;
        image += c.image;
        cout << "Add done!\n";
    }
    void mul(const Complex& c) {
        int _real = real * c.real - image * c.image;
        int _image = real * c.image + image * c.real;
        real = _real;
        image = _image;
        cout << "Mul done!\n";
    }
};

#endif